package com.onepower.core.modules.repository.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.onepower.core.modules.repository.entity.MatchScheduleLogicSocre;

import java.util.List;
import java.util.Map;

public interface MatchScheduleLogicScoreMapper extends BaseMapper<MatchScheduleLogicSocre> {


    List<MatchScheduleLogicSocre> scheduleLogicScore(int matchScheduleId);

    List<Map<String,Object>> orderTotalScore(String scheduleName,int matchId);

    MatchScheduleLogicSocre scheduleLogicScoreForType(int matchScheduleId,int type);

    void deleteByIdAndType(int matchScheduleId,int type);

    void updateScheduleLogicScore(int matchScheduleId,int type);
}
